package com.sptpc.learnspring.service;

import com.sptpc.learnspring.model.Category;
import com.sptpc.learnspring.vo.CategoryVO;

import java.util.List;

public interface ICategoryService {
    List<Category> getAllCategories();
    Category getCategoryById(long id);
    CategoryVO getCategoryWithDrinks(Long id);
    void reloadCategory();
    Category addCategory(Category category);
    Category updateCategory(Category category);
}
